package cn.study;

/**
 * @Author MDD
 * @Description
 * @Version
 * @Date
 **/
public class NetTracher extends Teacher {
    public NetTracher(String name, String sex, int age, int seniority, String unit,String course) {
        super(name, sex, age, seniority, unit,course);

    }

    @Override
    public void intro(){
        super.intro();
        System.out.printf("名字：" + this.getName() + '\'' +
                ", 性别：" + this.getSex() + '\'' +
                ", 年龄：" + this.getAge() +
                ", 教龄：" + this.getSeniority() +
                ",工作中心：" + this.getUnit()+
                ",oper "+this.getCourse());
    }


    public static void main(String[] args) {

        NetTracher net = new NetTracher("张老师","男",30,12,"kgc","Visual Studio 2017");
        net.intro();
    }
}
